package com.cowin.sys.service.impl;

import com.cowin.base.AbstractServiceImpl;
import com.cowin.sys.dao.TmBasSubmitOrderMapper;
import com.cowin.sys.model.TmBasSubmitOrder;
import com.cowin.sys.model.vo.CYSubmitOrderVo;
import com.cowin.sys.model.vo.TmBasSubmitOrderVo;
import com.cowin.sys.service.TmBasSubmitOrderService;
import java.util.List;
import javax.annotation.Resource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(rollbackFor = {RuntimeException.class})
public class TmBasSubmitOrderServiceImpl extends AbstractServiceImpl<TmBasSubmitOrder> implements TmBasSubmitOrderService {
    private static final Logger log = LoggerFactory.getLogger(com.cowin.sys.service.impl.TmBasSubmitOrderServiceImpl.class);

    @Resource
    private TmBasSubmitOrderMapper tmBasSubmitOrderMapper;

    public List<CYSubmitOrderVo> getDateForm(CYSubmitOrderVo cySubmitOrderVo) {
        return this.tmBasSubmitOrderMapper.findDateForm(cySubmitOrderVo);
    }

    public List<TmBasSubmitOrderVo> getDateFormInfo(TmBasSubmitOrderVo tmBasSubmitOrderVo) {
        return this.tmBasSubmitOrderMapper.findDateFormInfo(tmBasSubmitOrderVo);
    }
}
